package com.example.girls;

import org.apache.catalina.servlet4preview.http.HttpServletRequest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;

/**
 * @author lps
 * @version 1.0
 * @date 2017/12/28 0028 16:59
 * @description
 */
@RestController
public class DemoController {

    @RequestMapping(value = "/demo.html", method = RequestMethod.GET)
    public String demo(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return "This is my first Spring Boot Application!";
    }

}
